package com.ruoyi.odorservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.odorservice.entity.Material;
import com.ruoyi.odorservice.model.vo.OdorMaterialVo;
import com.ruoyi.odorservice.model.vo.SampleDetailVo;
import com.ruoyi.odorservice.model.vo.SiteSampleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface MaterialMapper extends BaseMapper<Material> {

    List<Material> selectMaterialListByOdor(Integer id);

    List<OdorMaterialVo> selectOdorMaterialByOdorIds(@Param("odorIds") List<Integer> odorIds);

    List<SampleDetailVo> selectSampleDetail(@Param("sampleIds")List<Integer> sampleIds);
}
